package com.woniuxy.school.dietary.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Data
@ApiModel(description = "查询订单使用的模型对象")
public class StoreFindOrderFrom {
    @NotNull(message = "查询的每页个数不能为空")
    @ApiModelProperty(value = "查询的每页个数")
    @Positive(message = "查询的每页个数必须为正数")
   private Long pageSize;
    @ApiModelProperty(value = "查询的页数")
    @NotNull(message = "查询的页数不能为空")
    @Positive(message = "查询的页数必须为正数")
   private Long pageNum;
}
